package cn.wolfcode.wolf2w.query;


import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class TravelQuery extends  QueryObject{
    //目的地id
    private String destId;
    //最新排序
    private int orderType = 1;
    //钱
    private int perExpendType = -1;
    //天数
    private int dayType = -1;
    //后台高查条件
    private int state=0;


    public TravelCondition getDay(){
        return TravelCondition.MAP_DAY.get(dayType);
    }


    public TravelCondition getPerExpend(){
        return TravelCondition.MAP_PEREXPEND.get(perExpendType);
    }

}
